package com.yuyang.common.exception;

/**
 * @author yu yang
 * @date 2023/2/6 -14:56
 */
public class NoStockException extends RuntimeException{
    public NoStockException(Long skuId) {
        super("商品:"+skuId+"没有库存");
    }
    public NoStockException(String msg) {
        super(msg);
    }
}
